﻿using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.AspNetCore.Builder;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCommon.Core
{
    public static class InternalApp
    {
        internal static IServiceCollection InternalService;
        internal static IServiceProvider RootService;

        public static void ConfigureApp(this IHost app)
        {
            RootService = app.Services;
        }
    }
}
